Fixed incompatibility with some C compilers.
authorparkrrrr <parkrrrr@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Thu, 17 Nov 2005 13:22:55 +0000 (13:22 +0000)
committerparkrrrr <parkrrrr@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Thu, 17 Nov 2005 13:22:55 +0000 (13:22 +0000)
gpsbabel/smplrout.c

index 9df6078a72d2b9db55eb15f3335e54cde00accd2..cd1318ac97a09d1b5be82ba71d5edbe707b307ab 100644 (file)
@@ -271,8 +271,8 @@ routesimple_process( void )
 
 void
 routesimple_init(const char *args) {
-       count = 0;
        char *fm = NULL;
+       count = 0;
 
        if ( !!countopt == !!erroropt ) {
                fatal( MYNAME ": You must specify either count or error, but not both.\n");